<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Factory_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-factory_id" data-rule="required" data-source="factory/index" class="form-control selectpage" name="row[factory_id]" type="text" value="{$row.factory_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Group_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-group_id" data-rule="required" data-source="group/index" class="form-control selectpage" name="row[group_id]" type="text" value="{$row.group_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Batch_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-batch_id" data-rule="required" data-source="batch/index" class="form-control selectpage" name="row[batch_id]" type="text" value="{$row.batch_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Newdate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-newdate" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[newdate]" type="text" value="{$row.newdate}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Die_child_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-die_child_num" class="form-control" name="row[die_child_num]" type="number" value="{$row.die_child_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cb_batch_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cb_batch_id" data-rule="required" data-source="cb/batch/index" class="form-control selectpage" name="row[cb_batch_id]" type="text" value="{$row.cb_batch_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Set_new_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-set_new_num" class="form-control" name="row[set_new_num]" type="number" value="{$row.set_new_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Die_new_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-die_new_num" class="form-control" name="row[die_new_num]" type="number" value="{$row.die_new_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Set_zhong_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-set_zhong_num" class="form-control" name="row[set_zhong_num]" type="number" value="{$row.set_zhong_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Die_zhong_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-die_zhong_num" class="form-control" name="row[die_zhong_num]" type="number" value="{$row.die_zhong_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Set_pinxi_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-set_pinxi_id" data-rule="required" data-source="set/pinxi/index" class="form-control selectpage" name="row[set_pinxi_id]" type="text" value="{$row.set_pinxi_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Set_pinxi_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-set_pinxi_num" class="form-control" name="row[set_pinxi_num]" type="number" value="{$row.set_pinxi_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Die_pinxi_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-die_pinxi_id" data-rule="required" data-source="die/pinxi/index" class="form-control selectpage" name="row[die_pinxi_id]" type="text" value="{$row.die_pinxi_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Die_pinxi_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-die_pinxi_num" class="form-control" name="row[die_pinxi_num]" type="number" value="{$row.die_pinxi_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Apply_user')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-apply_user" class="form-control" name="row[apply_user]" type="number" value="{$row.apply_user|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Comment')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-comment" class="form-control " rows="5" name="row[comment]" cols="50">{$row.comment|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
